package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.poi.hpsf.Decimal;

import java.io.Serializable;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Salary implements Serializable {
    private static final long serialVersionUID=1L;
    @TableId(type= IdType.AUTO)
    private Integer id; //ID
    private Integer employeeId;//员工id
    private String employeeName; //员工名称
    private Double baseSalary; //基本工资
    private String level; //绩效等级，根据员工id和日期查询绩效等级
    private Double performanceSalary; //绩效工资
    private Double bonus; //奖金
    private Double deduction; //扣款
    private Double actualSalary; //实发工资
    private String month; //日期
}
